#!/usr/bin/env python
# -*- coding: utf-8 -*-

from common import caller

def print_data():
    arr_html = []
    arr = caller.get_user_like()
    for row in arr:
        arr_html.append("{id:%s, size:%s, label:%s, shape: 'ellipse' }" % (row[0], row[1], row[2]))
    return ','.join(arr_html)    
    

'''
                 {id: 1, size:218, label: 'Wreath\n2999846600',  shape: 'ellipse' },
                 {id: 2, size:141, label: 'Doormat\n70161128', shape: 'ellipse'},
                 {id: 3, size:100, label: '@newmusic08\n45294367',shape: 'ellipse'},
                 {id: 4, size:96, label: '#mtvstars\n2956834257',     shape: 'ellipse'},
                 {id: 5, size:96, label: '#bicycle\n175358416', shape: 'ellipse'},
                 {id: 6, size:95, label: 'quickbooks\n95625622',  shape: 'ellipse'},
                 {id: 7, size:94, label: '@fineartamerica\n3308757898',shape: 'ellipse'},
                 {id: 8, size:94, label: '#mtvstars\n2610373003', shape: 'ellipse'},
                 {id: 9, size:92, label: 'laws\n86832612',    shape: 'ellipse'},
                 {id: 10, size:92, label: '#fiverr\n3304625647',  shape: 'ellipse' },
                 {id: 11, size:92, label: '#mtvstars\n2856826864',  shape: 'ellipse' },
                 {id: 12, size:90, label: '#ImUKBiz\n3131295460', shape: 'ellipse'},
                 {id: 13, size:90, label: '#summerslam\n2981878354',shape: 'ellipse'},
                 {id: 14, size:89, label: '#twitteam\n251629518',     shape: 'ellipse'    },
                 {id: 15, size:88, label: '#smackdown\n86902428', shape: 'ellipse'},
                 {id: 16, size:88, label: '#newfreebook\n3315562739',  shape: 'ellipse'},
                 {id: 17, size:88, label: '@edgehillmusic\n1631970223',shape: 'ellipse'},
                 {id: 18, size:86, label: '#Awethors\n2859881632', shape: 'ellipse'},
                 {id: 19, size:83, label: '#childrensbooks\n3367972834',    shape: 'ellipse'},
                 {id: 20, size:83, label: '#voicesavemark\n2878860929',  shape: 'ellipse' }
    '''
    